home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6261 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  964 b 

  1. Path: library.erc.clarkson.edu!rpi!not-for-mail
  2. From: ell@access1.digex.net (Ell)
  3. Newsgroups: comp.lang.c++,comp.lang.c++.moderated
  4. Subject: Temporaries and GC
  5. Date: 10 Feb 1996 14:33:46 -0000
  6. Organization: The Universe
  7. Sender: cppmods@netlab.cs.rpi.edu
  8. Approved: harkness@airmail.net
  9. Message-ID: <4fiaca$qpj@netlab.cs.rpi.edu>
  10. NNTP-Posting-Host: netlab.cs.rpi.edu
  11. X-Original-Date: 10 Feb 1996 05:33:04 GMT
  12.  
  13. While many C++ compiler implementations often generate temporary objects,
  14. from what I understand after re-reading the ARM, they _all_ should delete
  15. the temporaries after exiting the scope where they are generated.  So no
  16. memory leaks on that score.  Advantage C++ design. 
  17.  
  18. Elliott
  19.  
  20.  
  21.       [ Articles to moderate: mailto:c++-submit@netlab.cs.rpi.edu ]
  22.       [  Read the C++ FAQ: http://www.connobj.com/cpp/cppfaq.htm  ]
  23.       [  Moderation policy: http://www.connobj.com/cpp/guide.htm  ]
  24.       [      Comments? mailto:c++-request@netlab.cs.rpi.edu       ]
  25.